﻿#ifndef WEBUI_SERVER_H__
#define WEBUI_SERVER_H__

#include <boost/shared_ptr.hpp>	

#include "webui/CallbackTypes.h"

namespace webui {

	class Server
	{
	public:
		explicit Server( const callback_map_t& callbacks );

		void Run( unsigned short port );
		void Stop();

	private:
		Server() {}

		struct Impl;
		boost::shared_ptr<Impl> pimpl_;
	};

} // namespace webui

#endif // WEBUI_SERVER_H__